@ECHO OFF
@SET VERSION=1.0.1.2

@IF exist "D:\workspace2\finder" copy "release\%VERSION%\ayada-%VERSION%.jar" "D:\workspace2\finder\webapp\WEB-INF\lib"
@IF exist "E:\WorkSpace\finder" copy "release\%VERSION%\ayada-%VERSION%.jar" "E:\WorkSpace\finder\webapp\WEB-INF\lib"

@IF exist "D:\workspace2\generator" copy "release\%VERSION%\ayada-%VERSION%.jar" "D:\workspace2\generator\webapp\WEB-INF\lib"
@IF exist "E:\WorkSpace\generator" copy "release\%VERSION%\ayada-%VERSION%.jar" "E:\WorkSpace\generator\webapp\WEB-INF\lib"

@IF exist "D:\workspace2\sdemo" copy "release\%VERSION%\ayada-%VERSION%.jar" "D:\workspace2\sdemo\webapp\WEB-INF\lib"
@IF exist "E:\WorkSpace\sdemo" copy "release\%VERSION%\ayada-%VERSION%.jar" "E:\WorkSpace\sdemo\webapp\WEB-INF\lib"

@IF exist "D:\workspace2\skin-eap" copy "release\%VERSION%\ayada-%VERSION%.jar" "D:\workspace2\skin-eap\webapp\WEB-INF\lib"
@IF exist "E:\WorkSpace\skin-eap" copy "release\%VERSION%\ayada-%VERSION%.jar" "E:\WorkSpace\skin-eap\webapp\WEB-INF\lib"
@PAUSE